﻿using Cofe.Core.Property;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cofe.Core.Service;

namespace Cofe.Core.Interfaces
{
    /// <summary>
    /// Used for construct secondary property providers, call UserProfile.Register() to register the factory.
    /// </summary>
    public interface ISecondaryPropertyProviderFactory : ICofeService 
    {
        IEnumerable<IPropertyProvider> GetSecoondaryPropertyProviders(IPropertyHost propertyHost);


        IServiceLocater ServiceLocater { get; set; }
    }
}
